package com.ruoyi.project.system.home.mapper;


import com.ruoyi.project.system.home.domain.MiniBaseFamilyInfoS;
import com.ruoyi.project.system.home.domain.MiniBaseFamilySearch;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MiniBaseFamilyMapper {


    /**
     * 首次查询展示二十一条信息(封停版)
     */
    List<MiniBaseFamilyInfoS> selectBaseFamilyListS();

    /**
     * 获取信息总条数
     */
    Integer getDataSize();

    /**
     * 搜索功能
     */
    List<MiniBaseFamilyInfoS> selectBaseFamilySearch(String searchContent);


    /**
     * 分页
     * @return 农户信息
     */
    List<MiniBaseFamilyInfoS> getAllUserByPage();

    /**
     * 信息录入页信息展示
     */
    MiniBaseFamilyInfoS getShowUserByFid(String fid,int reportYear);

    List<MiniBaseFamilyInfoS> selectBaseFamilySearchByVillage(int natVillage);
}
